package project.dao;

import org.apache.ibatis.annotations.Mapper;
import project.model.Option;

import java.util.List;

@Mapper
public interface OptionMapper {
    //添加选项
    public int addOption(Option option);
    //根据tid查询选项
    public List<Option> getOptionsByTid(int tid);
    //修改选项
    public int updateOption(Option option);
    //删除选项
    public int deleteOption(int oid);
}
